home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / virus / cm8200.zip / MANUAL.TXT < prev    next >
Text File  |  1996-01-01  |  35KB  |  980 lines

  1.                                 
  2.  
  3.  
  4.  
  5.  
  6.           ╓───╖ ╖           ╥     ╓──╥──╖        ╖
  7.           ║   ╨ ║           ║  ╓  ║  ║  ║        ╫──
  8.           ║     ╟───╖ ╓───╖ ╟──╨╖ ║  ║  ║ ╓───╥  ║   ╓───╖
  9.           ║   ╖ ║   ║ ╟───╜ ║   ║ ║  ╨  ║ ║   ║  ║   ╟───╜
  10.           ╙───╜ ╙   ╜ ╙───╜ ╨   ╙ ╜     ╨ ╙───╨─ ╙──┘╙───╜
  11.              
  12.  
  13.  
  14.                 Known\Unknown Virus
  15.                  Detection Utility
  16.  
  17.  
  18.  
  19.  
  20.                  Copyright (c) 1994,1995,1996 Martin Overton
  21.                                   (ChekWARE)
  22.                              All rights reserved.
  23.  
  24.                               
  25.           Written by:                     Internet:
  26.  
  27.           Martin Overton,(ChekWARE)       ChekMate@salig.demon.co.uk
  28.           8 Owl Beech Place,
  29.           Horsham,
  30.           West Sussex,
  31.           RH13 6PQ,
  32.           UNITED KINGDOM
  33.  
  34.  
  35.  
  36.  
  37. _________________________________________________________________________
  38.  
  39.  THE INFORMATION AND CODE PROVIDED IS PROVIDED AS IS WITHOUT WARRANTY OF
  40.  ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  41.  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  42.  
  43.  IN NO EVENT SHALL MARTIN OVERTON OR HIS AGENT(S) BE LIABLE FOR ANY DAMAGES
  44.  WHATSOEVER INCLUDING GENERAL, DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL,
  45.  LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES. EVEN IF THE AUTHOR HAS BEEN
  46.  ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  47. _________________________________________________________________________
  48.  
  49.  The UNREGISTERED version of this program, it's executables, bait  files
  50.  and related files may be distributed freely as long as no money is charged
  51.  for the program itself or any of its components.
  52.  
  53.  This program MUST be distributed as a whole with its associated files
  54.  and this document.
  55.         
  56.  This version of ChekMate may not be distributed as a part of any commercial
  57.  package without prior written agreement of the author.
  58.  
  59.  
  60.  
  61.  This program was developed entirely using personal time and personal
  62.  resources.
  63.   
  64.  It has been tested on many different PCs and Opearting System versions
  65.  with no problems encountered.
  66.  
  67.  This program has no connection with, or is in any way endorsed by my
  68.  employers.
  69.  
  70. License:
  71. _______
  72.  
  73. This version of ChekMate is hereby released under the Shareware concept.
  74.  
  75. ChekMate can be evaluated for up to 30 days without having to register.
  76. After that period of time please either register ChekMate or remove it
  77. from your system.
  78.  
  79. Registration will entitle you to the registered version which is free of
  80. the 'nag-screen' and has additional features. See REGISTER.TXT for full
  81. details.
  82.  
  83. The author retains the copyright of ChekMate and all of its components
  84. (except MD5 which is copyright RSA Data Security, Inc.)
  85.       
  86. ChekMate or any of its components may not be used as part of any other
  87. package unless written agreement is obtained from the author.
  88.  
  89. ChekMate must not be modified in any way.
  90.  
  91. MD5 is the RSA Data Security, Inc. MD5 Message-Digest Algorithm,
  92. Copyright 1991 RSA Data Security, Inc.
  93.  
  94.  
  95. Requirements:
  96. ____________
  97.  
  98. ChekMate requires you to have an IBM PC Compatible running DOS 3.3 or later
  99. or one of the other supported operating systems and at least 384Kb of memory
  100. and a Hard Disk.
  101.  
  102. DEBUG must also be on your PC in your Path. DEBUG will always be in your DOS
  103. directory, and in your PATH, unless you have manualy removed it. The same is
  104. normally true of OS/2, Windows 3.x, NT and Windows '95.
  105.  
  106. To use ChekWord, you will need a copy of Microsoft Word 6.0 or later.
  107.      
  108.  
  109. What is ChekMate:
  110. ________________
  111.  
  112. ChekMate was written to detect new and known file, boot and partition table
  113. viruses.
  114.  
  115. It should be used alongside a good quality, up-to-date virus scanner.  
  116.  
  117.        !!! ChekMate is NOT a substitute for a virus scanner. !!! 
  118.  
  119. ChekMate can be integrated with your current DOS based virus scanner.
  120. It will detect most file infector, boot sector or partition table viruses.
  121.  
  122. ChekMate makes no wild claims about 'Providing 100% protection against all
  123. current and future viruses!' (I'll leave that to other products.)
  124.  
  125. ChekMate is simply an extra layer for a virus to try to defeat. When
  126. combined with 'frequent' backups and a good up-to-date virus scanner,
  127. ChekMate WILL help to protect your data from many known and unknown viruses.
  128.  
  129. One of ChekMate's users said: "ChekMate has been a real security blanket"
  130. Another ChekMate user wrote:  "I wouldn't boot up without it."
  131.  
  132. ChekMate will NOT bombard you with lots of false alarms (unless your
  133. system is always in a state of flux!). It just monitors the areas/files
  134. that a virus will frequently target.
  135.  
  136.          !!! Think of ChekMate as a viral smoke alarm. !!!
  137.  
  138.  
  139. Before Installation:
  140. ___________________
  141.  
  142. Before installation scan the target PC with a good quality up-to-date virus
  143. scanner.
  144.  
  145.     ***    Only once the PC is found to be free of viruses    ***
  146.     *** should you proceed with the installation of ChekMate. ***
  147.  
  148. Copy all the files to a floppy disk and write protect it. This disk can then
  149. be used in the event of a virus outbreak to replace infected ChekMate files.
  150.  
  151. Also copy the .CHK files after ChekMate is run for the first time to the
  152. floppy disk you've just created (above).
  153.       
  154. Before installation, ensure that the Validation information is correct.
  155.  
  156. The Validation information was generated by MD5 from RSA Inc. 
  157. (Supplied with this file as MD5.EXE)
  158.  
  159. Filename        Size    Date        Time  MD5 Hash
  160. --------        ----    ----        ----  --------
  161. CHEKMATE.EXE  133520    01-01-96    2:00  4a6439de579880086120e5f515342ff4
  162. CHEKMATE.CHK     168    01-01-96    2:00  836a1fc56a24175835eb383469ad9b27                               
  163. CHEKWORD.DOC  261632    01-01-96    2:00  fe74f32fe0dd76432d26ca896ec533e1
  164. SETUP.EXE      40506    01-01-96    2:00  fe01b201477b862b561bae887dd4aff4
  165. REGISTER.EXE   31096    01-01-96    2:00  3274bb0d1b40aa6b0078c943c44a0f61
  166. MD5.EXE         9602    01-01-96    2:00  7881d18adf5f4406984cd863beaecda7
  167. 04K.COM         4096    01-01-96    2:00  45f2e0dc4a89a40c9f82860c6cba252b
  168. 04K.EXE         4096    01-01-96    2:00  624929af93155ca39094bcc5bd56c0ed
  169. 10K.COM        10240    01-01-96    2:00  01263656989c6359f8354579628fdcdc
  170. 10K.EXE        10240    01-01-96    2:00  56207e514203cf23624e8655066a3a9a
  171. 25K.COM        25600    01-01-96    2:00  3ee78a553665f85201459ca5929578f9
  172. 25K.EXE        25600    01-01-96    2:00  a70ad2d630652bc9c98d1e7023350707
  173. FILECHK1.CHK     193    01-01-96    2:00  7229c907d982c01c9223f8dd18521867
  174. FILECHK2.CHK     193    01-01-96    2:00  b716719c540b2a2a02d445bf81b19f96
  175.  
  176. If these values do NOT match the files included with this document then
  177. please inform me and do not run them.
  178.  
  179. To check the MD5 Hash for the files do the following: At the DOS prompt in
  180. the directory where ChekMate was installed type:
  181.  
  182. MD5 <Filename.ext> where <Filename.ext> is the name of the file to check.
  183.  
  184. e.g. MD5 MD5.EXE CHEKMATE.EXE SETUP.EXE
  185.  
  186. This would return something like:
  187. (see the table above for the correct MD5 hash values)
  188.  
  189. md5 (md5.exe) 7881d18adf5f4406984cd863beaecda7
  190. md5 (chekmate.exe) 0601062a4b7d25a58f7a9217992d90f1
  191. md5 (setup.exe) 345e06107d1fd5ed03fa2a92cb6c678a
  192.  
  193.  
  194. Install (ALL Operating Systems):
  195. _______________________________
  196.  
  197. Create a directory for this program and copy the files listed below to that
  198. directory:
  199.  
  200.     CHEKMATE.EXE    ->       The Main Program File
  201.     CHEKMATE.ICO    ->       Windows Icon File for ChekMate
  202.     CHEKMATE.PIF    ->       Windows PIF File for ChekMate
  203.     CHEKMATE.CHK    ->       ChekMate Finger-Print file 
  204.         CHEKWORD.DOC    ->       Word Macro detection document
  205.         REGISTER.EXE    ->       Registration Utility
  206.     SETUP.EXE       ->       Setup program for modifying CHEKMATE.INI
  207.     CHEKMATE.INI    ->       Program INI File (See Later)
  208.     MD5.EXE         ->       RSA's MD5 hash generator (PUBLIC DOMAIN)
  209.     FILECHK1.CHK    ->       Bait files Finger-Print file (Start of Files)
  210.     FILECHK2.CHK    ->       Bait files Finger-Print file (End of Files) 
  211.     04K.COM         \
  212.     04K.EXE          \
  213.     10K.COM           \         
  214.     10K.EXE           /  Bait files
  215.     25K.COM          /
  216.     25K.EXE         /
  217.  
  218. (Bait files are simple files that display a message and return to DOS,
  219. they act as a decoy to tempt a virus into infecting it. They have no other
  220. purpose and DO NOT execute any other code or files.)
  221.  
  222. The BAIT files MUST not be replaced with your own versions of BAIT or any
  223. other executable files as MD5 hash values for the files are stored within
  224. the main CHEKMATE.EXE file.
  225.  
  226. They must also be left in the same order in the CHEKMATE.INI provided,
  227. you can though, rename them if you so wish. Renaming them can help to
  228. stop a targetted virus attack.
  229.  
  230.  
  231. Install (DOS):
  232. _____________
  233.  
  234. If you are running it from DOS then: 
  235.       
  236. Add ChekMate to your AUTOEXEC.BAT:
  237.  
  238. Either  add the line below:
  239.  
  240.     C:\<Directory_Name>\CHEKMATE.EXE
  241.     
  242.         If you use this option, then put CHEKMATE.INI in the ROOT directory '\'.
  243.  
  244. OR      Create a batch file that contains the following lines:
  245.     
  246.     CD\<Directory_Name>
  247.     CHEKMATE.EXE
  248.     CD\
  249.  
  250. <Directory_Name> should be the directory where you placed ChekMate
  251. eg. C:\CHEKMATE
  252.  
  253.  
  254. Install (Windows):
  255. ________________
  256.  
  257. If you want to run ChekMate from Windows then:
  258.  
  259.     Use the 'File' 'New' 'Program Item' menu option in Program Manager
  260.     to create an entry for this program. (PIF file supplied.)
  261.  
  262.     Edit the .PIF file to reflect the correct 'working directory'.
  263.  
  264.     The ICON can be set to CHEKMATE.ICO  in the directory where
  265.     ChekMate was installed.
  266.  
  267. If you wish to run ChekMate from NT, then you must run it with the /NOBP
  268. and /NOCMOS switches otherwise ChekMate will return an error.
  269.  
  270.  
  271. Install (OS/2 2.x & Warp):
  272. _________________________
  273.  
  274. To set up ChekMate under OS/2, follow the instructions below:
  275.  
  276.     For both HPFS and FAT file systems:
  277.  
  278.     From  the OS/2 desktop, drag a new 'PROGRAM' icon from the
  279.     'Templates' folder and enter the following details:
  280.  
  281.     Path and file name:
  282.  
  283.     C:\<ChekMate Dir>\CHEKMATE.BAT 
  284.     
  285.     The batch file should contain the following commands:
  286.     (.... = any other batch file command)
  287.     
  288.     @ECHO OFF
  289.     CHEKMATE.EXE
  290.     .....
  291.     .....
  292.     .....
  293.     PAUSE
  294.  
  295.     This will make sure that ChekMate doesn't just exit back to the
  296.         OS/2 Desktop when it's finished.  (Optionaly, just check the 'do not
  297.         close on exit' box in the setting folder)
  298.  
  299.     Working directory:
  300.  
  301.     C:\<ChekMate Dir>
  302.  
  303.     Where <ChekMate Dir> is the directory that you installed ChekMate.
  304.     
  305.     eg. CHEKMATE
  306.  
  307.         Click on the General tab of the program notebook and change
  308.     the title to:
  309.  
  310.     ChekMate
  311.        
  312.         Now drag this icon to the Startup folder.
  313.  
  314.  
  315. CHEKMATE.INI:
  316. ____________
  317.   
  318. You can use the SETUP.EXE file supplied to change the CHEKMATE.INI.
  319. (Strongly Recommended)
  320.  
  321. SETUP will in many cases tell you what the settings should be for a
  322. particular line.
  323.  
  324. If you use the /AUTO switch for SETUP.EXE it will build a INI file
  325. automatically, without your intervention. You must use the /NODRIVES
  326. switch with /AUTO on Windows NT systems or an error #71 will be generated.
  327.  
  328. (See SETUP later in this document)
  329.  
  330. Otherwise, manualy edit the CHEKMATE.INI file (Shown Below) if required:
  331.  
  332. Notes   Example File                    What each line is/means    
  333.  
  334.     [System]                Section Label
  335.     CMDir=C:\CHEKMATE       The Directory That ChekMate is Installed in.
  336. *1      Shell=C:\COMMAND.COM    Path & Name of Command Processor in use.
  337. *2      Drives=1                Number of drives (Physical or Logical).  
  338. *3      BaseMem=640             The BASE DOS Memory as reported by MEM /C.
  339.  
  340.     [BaitFiles]             Section Label
  341.     1=04K.COM               4096  Byte .COM Bait file.
  342.     2=04K.EXE               4096  Byte .EXE Bait file.
  343.     3=10K.COM               10240 Byte .COM Bait file.
  344.     4=10K.EXE               10240 Byte .EXE Bait file.
  345.     5=25K.COM               25600 Byte .COM Bait file.
  346.     6=25K.EXE               25600 Byte .EXE Bait file.
  347.  
  348.  
  349. This file MUST exist and the contents MUST be correct or ChekMate will NOT
  350. work correctly.
  351.  
  352. *1      The command processor can be COMMAND.COM. 4DOS & NDOS.COM are also
  353.     supported as common replacements for COMMAND.COM.
  354.    
  355.     Use SETUP.EXE if you are unsure about this. 
  356.  
  357. *2      ChekMate will handle up to drive F:
  358.     (The CHEKMATE.INI entry would then need to be 4)
  359.  
  360. *3      This is usually 640Kb (655,360 Bytes), Some systems may report 639Kb
  361.     due to HD controllers and some extended BIOSes 'borrowing' 1Kb for
  362.     their own purposes.
  363.  
  364.     ChekMate now displays the DOS base memory detected at run time.
  365.  
  366.  
  367. Using SETUP:
  368. ___________
  369.  
  370. SETUP.EXE allows you to change/set the contents of CHEKMATE.INI without the
  371. use of an editor or require you to have any specialist knowledge of your
  372. system setup (apart from the number of LOCAL drive letters!).
  373.  
  374. To run SETUP, simply ensure that you are in the directory that CHEKMATE.INI
  375. (default is the ChekMate directory) was placed into, now type the line below
  376. at your DOS or OS/2 prompt:
  377.  
  378.     SETUP
  379.  
  380. Or to run SETUP on a mono screen type:
  381.  
  382.     SETUP /MONO
  383.  
  384. Either way, you will see the screen below: 
  385.  
  386. __________________________________________________________________________
  387.  
  388.  
  389.                +---- ChekMate  Version 2.0 [1st January 1996] -----+
  390.            |          Configuration / Setup Program            |
  391.            +---------------------------------------------------+
  392.  
  393.               The CHEKMATE.INI Currently Looks Like This
  394.               ChekMate Directory      :=     C:\CHEKMATE
  395.               Command Processor       :=     C:\COMMAND.COM
  396.               No. of Drive Letters    :=     3 
  397.               (C:,D:,E:)
  398.               DOS (BASE) Memory       :=     640 
  399.  
  400.           Please Note: Not showing BAIT file information 
  401.  
  402.                 Are These Values Correct (Y/N)
  403.  
  404.         Choose 'N' To Edit CHEKMATE.INI or 'Y' Will Exit Back To Dos
  405.  
  406. __________________________________________________________________________
  407.  
  408.  
  409. As you can see above the CURRENT settings are shown. You are asked if the
  410. values are correct.
  411.  
  412. If you answer 'Y' then SETUP simply exits back to the operating system
  413. without making any modifications.
  414.  
  415. If you answer 'N' then you will be asked questions. An example is shown
  416. below:
  417.  
  418. __________________________________________________________________________
  419.       
  420.                +---- ChekMate  Version 2.0 [1st January 1996] -----+
  421.            |          Configuration / Setup Program            |
  422.            +---------------------------------------------------+
  423.  
  424.  
  425. Enter Directory Where ChekMate is Installed Currently (C:\CHEKMATE)
  426. Path=: c:\AV\CHEKMATE
  427. Set To: C:\AV\CHEKMATE
  428.  
  429. Enter The Path & Name of Your Command Processor, Currently (C:\COMMAND.COM)
  430. I Detect The Following (C:\OS2\MDOS\COMMAND.COM)
  431. Shall I Set It To That (Y/N) ?
  432. Set  To: D:\OS2\MDOS\COMMAND.COM
  433.  
  434. Enter The Number of Drive Letters (Up to F: Only), Currently ( 3)
  435. Number =: 2
  436. Set  To:  2
  437.  
  438. Enter The Amount of DOS BASE Memory (Up to 640Kb Only),Currently ( 640 )
  439. I Detect( 640 ) Set It to That Value (Y/N) ?
  440. Set  To:  640
  441.  
  442.               Is This Correct (Y/N) ?
  443.  
  444.       Choose 'N' To Try Again or 'Y' Will Write Changes And Exit To Dos
  445.  
  446. __________________________________________________________________________
  447.  
  448. As you can see SETUP will tell you what the settings SHOULD be set to.
  449. It will automatically work out what command processor is running from
  450. the environment variable COMSPEC.
  451.  
  452. The DOS base memory is also detected automatically. Common values are 640
  453. or 639, the latter is mainly found in systems with extended BIOSes.
  454.  
  455.           ANY other value should be questioned!
  456.  
  457. Once all the questions are answered, you are then asked to confirm whether
  458. the settings are correct.
  459.  
  460. Answering 'N' will restart the questions.
  461.  
  462. Answering 'Y' will write out the changes to CHEKMATE.INI and exit to Dos.
  463.  
  464.  
  465.  
  466. Upgrading From Version 1.06b:
  467. ____________________________
  468.  
  469. To upgrade ChekMate from version 1.06b, proceed as follows:
  470.  
  471. 1.      Read all of this manual BEFORE proceeding.
  472.  
  473. 2.      Copy CHEKMATE.EXE, CHEKMATE.CHK, SETUP.EXE & REGISTER.EXE to your
  474.     ChekMate directory.
  475.  
  476. 3.      Delete the PART.CHK and ?BOOT.CHK files (Where ? is C, D, E or F)
  477.         (The structure of these files have changed).
  478.  
  479. 4.      Now run CHEKMATE.EXE, if ChekMate informs you that a FingerPrint
  480.     file is missing, Press any key to continue. You will then be told
  481.     that the missing .CHK file is being created.
  482.  
  483. 5.      ChekMate should now work fine with the updated files.
  484.  
  485. 6.      If the above does not work correctly, then run CHEKMATE.EXE /CREATE
  486.     as this will re-generate all the .CHK files.
  487.  
  488.  
  489. How ChekMate Works:
  490. __________________
  491.  
  492. Every time ChekMate is run, it will first test key Interrupts and DOS memory
  493. for modifications (unless you disable this test, see below).
  494.  
  495. ChekMate, when run for the first time, will create a series of Finger-Print
  496. (.CHK) files of the following:
  497.  
  498.     COMMAND.COM or an alternate command processor, 
  499.     THE BOOT SECTOR(s) and THE PARTITION TABLE.
  500.       
  501. Any other time that ChekMate is run it will match the Finger-Print files
  502. with the actual files or image files taken at runtime.
  503.  
  504. These Finger-Print (.CHK) files are not CRC's (Checksums, as these are
  505. easily fooled by some viruses) but are actual code fragments of the start
  506. and in some cases the end of the file or area.
  507.  
  508. All the BAIT files, ChekMate.EXE, MD5.EXE and the Command Processor are
  509. also protected with MD5 hash values.
  510.  
  511. MD5 hash values are 128 bit cryptographic signatures of the files, which
  512. are VERY secure. Far more secure than other similar techniques.
  513.  
  514. If these Finger-Print files and/or hash values do NOT match the runtime
  515. images, then you will be warned that one or more of the files/areas have
  516. been changed. The actual area/file name will be displayed.
  517.  
  518. The information will also be written to the error log (ERROR.LOG) in the
  519. ChekMate directory.
  520.  
  521. If a change is detected then ChekMate will return to DOS without checking
  522. any other files/areas for modifications.
  523.  
  524. Most viruses change executable code at the beginning and/or end of a file
  525. or area. ChekMate checks for this sort of modification.
  526.  
  527. MD5 hash values are computed from the contents of the whole file and
  528. therefore will detect ANY change to the file(s).
  529.  
  530.  
  531. A Guided Tour of ChekMate:
  532. _________________________
  533.  
  534. Below is an example of the output that ChekMate produces when run.        
  535.         
  536. Explanations are given at each stage of the process.
  537.  
  538. ___________________________________________________________________________
  539. █████████████  ChekMate √ 2.0 UNREGISTERED [1st January 1996]  █████████████
  540.    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  541. *1 ▌         Checking ChekMate Files & The Command Processor ...      
  542.    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  543.      Current Task                       Progress
  544.    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  545. *2 ▌ ChekMate.EXE               OK ▐  ▌ Interrupts OK                     ▐ *3
  546.    ▌ MD5.EXE                    OK ▐  ▌ 640Kb (DOS BASE) Memory Detected  ▐
  547.    ▌ Command Processor          OK ▐  ▌                                   ▐
  548.    ▌                               ▐  ▌                                   ▐
  549.    ▌                               ▐  ▌                                   ▐
  550.    ▌                               ▐  ▌                                   ▐
  551.    ▌                               ▐  ▌                                   ▐
  552.    ▌                               ▐  ▌                                   ▐
  553.    ▌                               ▐  ▌                                   ▐
  554.    ▌                               ▐  ▌                                   ▐
  555.    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  556.    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  557. *4 ▌                                                                       ▐
  558.    ▌                                                                       ▐
  559.    ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  560. _____________________________________________________________________________
  561.  
  562. Fig 1.
  563.  
  564. *1      Header, Shows current task identity.
  565. *2      Current Task Window, Shows detail of current task.
  566. *3      Progress, Shows completed task identities.
  567. *4      Message Window, Shows error messages etc.
  568.  
  569. The main screen (Fig 1.) shows ChekMate reporting the checked interrupts,
  570. the DOS base memory detected at execution. This is compared with a stored
  571. value in the CHEKMATE.INI. If these values are different, then a warning
  572. message is shown, ChekMate returns an errorlevel and returns control to
  573. the operating system.
  574.  
  575. Many boot sector or partition table viruses lower the base memory value by
  576. 1Kb or more.
  577.  
  578. ChekMate detects many of those viruses by this method alone.
  579.  
  580. The next step, assuming no change is detected in the DOS base memory is for
  581. ChekMate to check itself (it also checks itself BEFORE it gets this far!).
  582. It checks its fingerprint file against its own code and then checks its MD5
  583. cryptographic fingerprint against a stored value.
  584.  
  585. If either of these do not match, a warning message appears, ChekMate returns
  586. an errorlevel and returns control to the operating system.
  587.  
  588. More detailed information is written out to the error log file (ERROR.LOG).
  589.  
  590. This is repeated for MD5.EXE and the Command Processor.
  591.  
  592. (The error/change reporting is the same at each stage of ChekMate's
  593. examination of your system files/areas.)
  594.  
  595. A similar routine is used for the boot sector(s) and the partition table.
  596.  
  597. The main difference is that the whole 512 bytes are compared with the
  598. values/images stored the first time that ChekMate was run.
  599.  
  600. If either of these do not match, a warning message appears,ChekMate returns
  601. a DOS errorlevel and returns control to the operating system.
  602.  
  603. The next phase of ChekMate is to check the decoy/bait files used to trap
  604. file infecting viruses, before they are executed.
  605.  
  606. These files are first checked in the same way as CHEKMATE.EXE etc., except
  607. the cryptographic fingerprints are stored inside CHEKMATE.EXE, and that the
  608. filesize is also checked.
  609.  
  610. This is done to minimise the chance of modifications to these files by an
  611. unknown party. That is to say, this is an anti-hacker ploy.
  612.  
  613. If these files are found to be unchanged, they are then executed. This
  614. is to purposely expose them to any viruses that are capable of infecting
  615. files.
  616.  
  617. This is like a lamb walking up to wolf and saying "my you have big teeth!"
  618.  
  619. This has proved to be very effective in trapping unknown file infecting
  620. viruses.
  621.  
  622. Yet again, if ANY changes are detected, you will see an error message.
  623.  
  624. The decoy/bait files are then checked AGAIN after they have been executed
  625. to determine whether a file infecting virus has modified them.
  626.  
  627. If you got this far without any warning messages, then your system is
  628. deemed to be clean (assuming it was clean BEFORE ChekMate was installed,
  629. and that an up to date, good quality virus scanner is used at reasonable
  630. intervals, say weekly!)
  631.  
  632.  
  633. ERRORLEVEL Returns:
  634. ______________________
  635.  
  636. The following errorlevel values are returned when ChekMate exits back to the
  637. operating system.
  638.  
  639.  0  = No modifications detected
  640.  1  = COMMAND.COM (or other COMMAND processor) appears to have been changed
  641.  2  = ChekMate.EXE appears to have been changed
  642.  3  = The BOOT SECTOR(s) appears to have been changed
  643.  4  = The PARTITION TABLE appears to have been changed
  644.  5  = One or more of the BAIT files appear to have been changed
  645.  6  = The DOS base memory amount appear to have been changed
  646.  7  = MD5.EXE appears to have been changed
  647.  9  = A change has been detected in the CMOS *REGISTERED version only!
  648.  10 = One or more of the interrupts are outside the normal boundries
  649.  98 = Dir2.Byway appears to be active on this system
  650.  99 = A companion virus appears to be active on this system
  651.  
  652.  Q.     What can you do with this information?
  653.  
  654.  A.     You can use the errorlevels returned in a batch file to automatically
  655.     run your favourite virus scanner when ChekMate detects a modification
  656.     to your system.
  657.  
  658.     e.g. CHECK.BAT
  659.     @ECHO OFF
  660.     CLS
  661.     CD C:\CHEKMATE
  662.     CHEKMATE.EXE
  663.     IF NOT ERRORLEVEL 1 GOTO :End
  664.     :Change!
  665.         C:\SCANNER\SCAN.EXE /ADL
  666.     CD C:\
  667.     :End
  668.  
  669. The batch file above will only run your virus scanner (in this example the
  670. scanner is McAfee Scan) if the errorlevel does not equal (0) zero.
  671.  
  672.  
  673.  
  674. Help/Command Line Switches:
  675. __________________________
  676.  
  677. To get help, run: 
  678.      
  679.  
  680. CHEKMATE.EXE /? or /H
  681.  
  682.  
  683. Other command line switches:
  684.  
  685.  
  686. /CREATE         Creates a 'new' set of Finger-Print files.
  687.         Usually only used after DOS upgrade or after cleaning up
  688.         after a virus attack.
  689.  
  690. /NOEXPOSE       Used to only check Finger-Print files against original
  691.         files/area. Does NOT execute BAIT files.
  692.           
  693. /QUIET          Force ChekMate to run in QUIET mode.
  694.         (ChekMate will only display warnings no other information
  695.         is shown. REGISTERED version only!)
  696.  
  697. /NOBP           Disable the boot and partition checking. This is only
  698.                 recommended for use with Windows NT.
  699.  
  700. /NOCMOS         Disable the CMOS checking. This is only
  701.                 recommended for use with Windows NT.
  702.  
  703. /NODRIVES       This is only for use with /AUTO on NT systems. Otherwise an
  704.                 error #71 is generated.
  705.  
  706.  
  707. Known problems/limitations:
  708. __________________________
  709.  
  710. 1)      May not detect direct action non-TSR viruses very quickly. 
  711.     Most new viruses are TSR (memory resident) variants.
  712.  
  713.     The best way to test 'suspect' files is to place them in the same
  714.     directory as ChekMate, Virus Scan them and if they are not reported
  715.     as infected, then run them from there. Then run ChekMate.
  716.  
  717.            **** REMEMBER TO BACKUP YOUR SYSTEM FIRST ****
  718.   
  719. 2)      Link viruses, such are DIR II may not be detected as no executable
  720.     code is changed.
  721.  
  722.     A special routine has been added for the Dir2.Byway Link virus.
  723.  
  724.  
  725. Common Questions & Answers:
  726. __________________________
  727.  
  728. If ChekMate detects a change in your system then proceed as follows:
  729.  
  730.     To confirm this run your favourite virus scanner, after booting from
  731.     the original write-protected bootable system disk.
  732.  
  733.     If the scanner finds nothing then send the following files to me
  734.     (you will find them in the directory where ChekMate was installed):
  735.     
  736. For the correct files to send see the relevent question.
  737.  
  738.  
  739. Q1.     ChekMate informed me that the 'DOS Base Memory' value has changed
  740.     what should I do?
  741.  
  742. A1.     If ChekMate has been working fine before, then you have probably
  743.     been infected by a Boot Sector or Partition Table virus. Most of
  744.     these types of viruses 'steal' 1Kb or more from DOS.
  745.     
  746.     Please send me the following files for inspection:
  747.     
  748.     ?BOOT.SEC files  (Where ? is C, D, E or F)
  749.     ?BOOT.CHK files  (Where ? is C, D, E or F)
  750.     PART.CHK
  751.     PART.SEC
  752.     ERROR.LOG
  753.  
  754.  
  755. Q2.     ChekMate informed me that ChekMate.EXE has changed, what should I do?
  756.  
  757. A2.     ChekMate.EXE should NEVER change, apart from being upgraded to the
  758.     latest version.
  759.  
  760.     Please send me the CHEKMATE.EXE & CHEKMATE.CHK files to inspect.
  761.  
  762.  
  763. Q3.     ChekMate informed me that MD5.EXE has changed, what should I do?
  764.  
  765. A3.     MD5.EXE should NEVER change, apart from being upgraded to the
  766.     latest version.
  767.  
  768.     Please send me the MD5.EXE file to inspect.
  769.  
  770.  
  771. Q4.     ChekMate informed me that 'The Command Processor' has changed, what
  772.     should I do?
  773.  
  774. A4.     Your Command Processor should NEVER change, apart from DOS being
  775.     upgraded to another version.
  776.  
  777.     Please send me a copy of your Command Processor file to inspect.
  778.     (Usually COMMAND.COM, could be NDOS.COM or 4DOS.COM)
  779.                                    
  780.  
  781. Q5.     ChekMate informed me that 'The Boot Sector' has changed, what should
  782.     I do?
  783.  
  784. A5.     If ChekMate has been working fine before, & you have NOT upgraded
  785.     your version of DOS or changed the 'Volume Label' then you have
  786.     probably been infected by a Boot Sector virus.
  787.     
  788.     Please send me the following files:
  789.     
  790.     ?BOOT.SEC files  (Where ? is C, D, E &/or F)
  791.     ?BOOT.CHK files  (Where ? is C, D, E &/or F)
  792.     ERROR.LOG
  793.  
  794.  
  795. Q6.     ChekMate informed me that 'The Partition Table' has changed, what
  796.     should I do?
  797.  
  798. A6.     If ChekMate has been working fine before, & you have NOT upgraded
  799.     your version of DOS or changed the Partition Table by running FDISK
  800.     then you have probably been infected by a Partition Table virus.
  801.     
  802.     Please send me the following files:
  803.     
  804.     PART.SEC
  805.     PART.CHK
  806.     ERROR.LOG
  807.  
  808.  
  809. Q7.     ChekMate informed me that '1 or More of The BAIT File(s)' have
  810.     changed, what  should I do?
  811.  
  812. A7.     The BAIT files should NEVER change. (except from version 1.05d to
  813.     1.06a)
  814.  
  815.     Please send me the following files to inspect.
  816.  
  817.     04K.COM
  818.     04K.EXE
  819.     10K.COM
  820.     10K.EXE
  821.     25K.COM
  822.     25K.EXE
  823.  
  824.  
  825. Q8.     ChekMate informed me that 'Interrupt xx has changed', what should I
  826.     do?
  827.  
  828. A8.     These are the main posibilities:
  829.  
  830.     1. You are running a TSR that has modified an interrupt address that
  831.        is frequently used by memory resident and /or stealth virus.
  832.  
  833.        Remove all TSR programs and try ChekMate again to see if the
  834.        problem stops.
  835.  
  836.        If it does then re-load the TSR's one at a time (running ChekMate
  837.        after each one) until the problem re-occurs.
  838.  
  839.        Please inform me of the program and send me a copy of the
  840.        ERROR.LOG file for me to inspect. I will then try to fix the
  841.        problem.
  842.  
  843.     2. A memory resident and / or stealth virus is active in your system.
  844.  
  845.        Please manualy run the bait files, 04K.COM etc. and then send
  846.        them to me to inspect for signs of infection.
  847.  
  848.        Please send me a copy of the ERROR.LOG file for me to inspect. 
  849.  
  850. In all cases ensure that you have scanned your system with a good and
  851. up-to-date virus scanner (such as F-Prot, ThunderBYTE etc...).
  852.  
  853. Please remember to inform me which scanner and version was used. Also
  854. please ensure that you send the ERROR.LOG file.
  855.  
  856. Latest Version:
  857. ______________
  858.  
  859. The latest version of this application should always be available from the
  860. internet site or bulletin board that you originally obtained it from.
  861.  
  862. The main site is the SimTel archives (ftp.coast.net) or one of the mirror
  863. sites, in the SimTel/msdos/virus directory.
  864.    
  865. The Secondary site is: ftp.demon.co.uk in /pub/antivirus/ibmpc/av-progs
  866.  
  867. You will also find it on many BBS's throughout the world.
  868.  
  869. Please E-Mail me if you want to know when a new version is released,
  870. I will add you to the mailing list for new version announcements.
  871.  
  872. Registered users will informed automatically.
  873.  
  874.  
  875. Bug reports, suggestions, etc...
  876. ________________________________
  877.  
  878. If you catch a virus with ChekMate in one of the Bait files, then please
  879. send me a copy for analysis. I will send a reply to anyone who sends me
  880. such a file. If possible I will send a search string to correctly identify
  881. the new virus to aid removal.
  882.  
  883. To date ChekMate has trapped four unknown viruses ("in the wild"). The
  884. latest was even undetected by heuristic based scanners.
  885.  
  886. Mail files to the E-Mail or Postal address at the top of this document.
  887. (If you e-mail the file(s) then please use UUENCODE or MIME. Also for
  888. greater security please use PGP (my public key is supplied with 1.06b))
  889.  
  890. Please send all bug reports, suggestions, etc to the E-Mail or Postal
  891. address at the top of this document.
  892.   
  893. If you like this program, let other people know about it!
  894.  
  895. If you have tested ChekMate against any viruses then please let me know
  896. the outcome of these tests, whether the results are good or bad.
  897.  
  898. For details of viruses that ChekMate has been tested against, please see
  899. the file enclosed in this ZIP file, TESTS.TXT.
  900.  
  901.  
  902. Thanks:
  903. ______
  904.  
  905. Thanks to Philip Tong for early Beta testing and a copy of the then unknown
  906. 'Dalian' virus which ChekMate captured. Thanks also go to Ed Fenton, Hugh
  907. Brecher, Jon Dron, Flint Howard and many others for their suggestions for
  908. improvements, Beta testing of new versions and constructive feedback.
  909. A very BIG thank you goes to Christy Gemmell who has helped with some of the
  910. low-level routines used in this program.
  911.  
  912.  
  913. Why was ChekMate Written?:
  914. _________________________
  915.  
  916. I frequently receive suspect files from people throughout the world that
  917. believe, either rightly or wrongly, they are infected with a new/unknown or
  918. known virus.
  919.  
  920. I needed a way to confirm that the file/disk was indeed infected.
  921.  
  922. My first step was to scan it for known viruses, if that did not detect a
  923. known virus then the infected file/disk was run on a 'sheep-dip' PC and
  924. ChekMate was then used to tempt the virus into infecting one or more of the
  925. bait files or the Boot sector or Partition Table.
  926.  
  927. In all cases the virus was caught by ChekMate. Either by infecting one or
  928. more of the BAIT files or the Boot Sector or Partition Table.
  929.       
  930. Many people do not perform a daily scan of their PC, because they feel it
  931. takes too long (3-20 Minutes). ChekMate takes under 20 seconds to  run,
  932. even on 80286 based systems.
  933.       
  934.  
  935.  
  936. And finally .........
  937. _____________________
  938.  
  939.  
  940. Thank you for trying ChekMate.
  941.  
  942.  
  943.  
  944.  
  945. Information about MD5 (Quoted from RFC1321)
  946. ___________________________________________
  947.  
  948. 1. Executive Summary
  949.  
  950. This document describes the MD5 message-digest algorithm. The algorithm
  951. takes as input a message of arbitrary length and produces as output a
  952. 128-bit "fingerprint" or "message digest" of the input.
  953.  
  954. It is conjectured that it is computationally infeasible to produce two
  955. messages having the same message digest, or to produce any message having
  956. a given prespecified target message digest.
  957.  
  958. The MD5 algorithm is intended for digital signature applications, where
  959. a large file must be "compressed" in a secure manner before being encrypted
  960. with a private (secret) key under a public-key cryptosystem such as RSA.
  961.    
  962. The MD5 algorithm is designed to be quite fast on 32-bit machines. In
  963. addition, the MD5 algorithm does not require any large substitution tables;
  964. the algorithm can be coded quite compactly.
  965.  
  966. The MD5 algorithm is an extension of the MD4 message-digest algorithm 1,2].
  967. MD5 is slightly slower than MD4, but is more "conservative" in design. MD5
  968. was designed because it was felt that MD4 was perhaps being adopted for use
  969. more quickly than justified by the existing critical review; because MD4 was
  970. designed to be exceptionally fast, it is "at the edge" in terms of risking
  971. successful cryptanalytic attack. MD5 backs off a bit, giving up a little in
  972. speed for a much greater likelihood of ultimate security. It incorporates
  973. some suggestions made by various reviewers, and contains additional
  974. optimizations. The MD5 algorithm is being placed in the public domain for
  975. review and possible adoption as a standard. 
  976.    
  977. *** END OF DOCUMENT ***
  978.  
  979.  
  980.